package com.gangquan360.smartadmin.module.supplier.domain.dto;
import lombok.Data;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

/**
 * [ 供应商表 ]
 *
 * @author wiggin
 * @version 1.0
 * @company wiggin
 * @copyright (c) 2018 wigginInc. All rights reserved.
 * @date 2019/3/27 0027 下午 12:27
 * @since JDK1.8
 */
@Data
public class SupplierDTO {

    @ApiModelProperty("")
    private Long id;

    @ApiModelProperty("客户名称")
    private String name;

    @ApiModelProperty("简称")
    private String shortName;

    @ApiModelProperty("助记码")
    private String mnemonicCode;

    @ApiModelProperty("电话号")
    private String telephone;

    @ApiModelProperty("邮编")
    private String postcode;

    @ApiModelProperty("分类")
    private Integer category;

    @ApiModelProperty("法人代表")
    private Long legalPersonContactId;

    @ApiModelProperty("业务代表")
    private Long businessAgentContactId;

    @ApiModelProperty("收货人")
    private Long consigneeContactId;

    @ApiModelProperty("省份")
    private Integer province;

    @ApiModelProperty("城市")
    private Integer city;

    @ApiModelProperty("县/区")
    private Integer county;

    @ApiModelProperty("详细地址")
    private String address;

    @ApiModelProperty("标签")
    private String tags;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("单位名称")
    private String unitName;

    @ApiModelProperty("税号")
    private String taxNumber;

    @ApiModelProperty("开户行")
    private String openingBank;

    @ApiModelProperty("银行账号")
    private String bankAccount;

    @ApiModelProperty("注册地址")
    private String registAddress;

    @ApiModelProperty("办公地址")
    private String officeAddress;

    @ApiModelProperty("开票电话")
    private String invoiceTelephone;

    @ApiModelProperty("传真号")
    private String faxNumber;

    @ApiModelProperty("")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;


}
